import { http } from "@/utils/http";
import { baseUrlApi } from "./utils";
/**获取回收站列表 */
export const getRecycleBinList = params => {
  return http.request("get", baseUrlApi("/document/recycleBinList"), {
    params
  });
};
// 还原文件或文件夹

export const restore = params => {
  return http.request("get", baseUrlApi("/document/returnActive"), {
    params
  });
};
// 清空回收站
export const emptyRecycleBin = data => {
  return http.request("post", baseUrlApi("/document/realDelete"), {
    data
  });
};
